<?php
//no direct access
defined('_JEXEC') or die('Direct Access to this location is not allowed.');
 
// include the helper file
require_once(dirname(__FILE__).DS.'helper.php');
 
// get a parameter from the module's configuration
 
// get the quote and cache

$cache =& JFactory::getCache();

$method = array('ModAnnibalQuote', 'getQuote');

$result = $cache->call($method, $params);
 
// include the template for display
require(JModuleHelper::getLayoutPath('mod_annibalquote'));
